package cn.tedu.v1.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 药品列表
 * </p>
 *
 * @author tedu.cn
 * @since 2021-07-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("drug")
public class Drug implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 药名
     */
    @TableField("name")
    private String name;

    /**
     * 单价
     */
    @TableField("price")
    private String price;

    /**
     * 库存
     */
    @TableField("count")
    private Integer count;

    /**
     * 药品信息
     */
    @TableField("info")
    private String info;


}
